﻿using System;
using System.Collections.Generic;

using System.Linq;

namespace BulkUploadGovernanceFiles.Models
{
    public class Insight
    {
        public Guid Id{get;set;}
       
        public string Title{get;set;}

        public DateTime DatePublished{get;set;}
        public string Summary{get;set;}

        public InsightState State{get;set;}

        public DateTime DateUnPublished{get;set;}

        public Guid AddedByUserId{get;set;}

        public string AddedByUserName{get;set;}

        public string AddedByUserNameLowerCase{get;set;}

        public string TitleLowercase{get;set;}

        public Guid? InsightSectorId{get;set;}

        public Guid? InsightTopicId{get;set;}

        public Guid ImageId{get;set;}

        public Guid FileId{get;set;}
        public string ImageS3Name {get; set;}
        public string FileS3Name { get; set; }
    }

    public enum InsightState : int
    {
        Draft = 0,
        Published = 1,
        Unpublished = 3,
    }
}
